<%@ page language="java" import="java.util.*,com.jiankang.entity.*,com.jiankang.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<link href="<%=request.getContextPath() %>/css/style.css"
	rel="stylesheet" type="text/css" />
<script type="text/javascript"
	src="<%=request.getContextPath() %>/js/jquery.js"></script>

<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

});
</script>


</head>


<body>
<c:if test="${empty currentUser}">
<jsp:include page="../404.jsp"/>
</c:if>
<c:if test="${!empty currentUser}">

	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="">首页</a></li>
			<li><a href="">更新</a></li>
		</ul>
	</div>

	<div class="rightinfo">
		<table class="tablelist">
			<thead>
				<tr>
					<th>编号</th>
					<th>图片</th>
					<th>标题</th>
					<th>简介</th>
					<th>工作时间</th>
					<th>电话</th>
					<th>编辑</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${onlinebooking}" var="o" varStatus="status">
					<tr>
						<td>${o.id}</td>
						<td>
						<img src="<%=Data.URL.base%>${o.imageurl}" width="56px" height="56px">
						</td>
						<td>${o.title}</td>
						<td>${o.content}</td>
						<td>${o.datetimee}</td>
						<td>${o.telephone}</td>
						<td><a href="<%=basePath%>version/modifiedprofile/${o.id}">修改</a></td>
					</tr>
					
				</c:forEach>
			</tbody>
		</table>
		
		</div>
		</c:if>
	<script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>

</body>
</html>
